package com.yanqu.road.server.timer.activity;

import com.yanqu.road.server.manger.activity.entername.EnterNameActivityMgr;
import com.yanqu.road.utils.executor.GeneralTask;

public class EnterNameActivityTask extends GeneralTask {

    @Override
    public void doRun() {
        try {
            EnterNameActivityMgr.autoEnterName();
        }catch (Exception e){
            EnterNameActivityMgr.getLogger().error("error :", e);
        }

        try {
            EnterNameActivityMgr.checkEnterNameCache();
        }catch (Exception e){
            EnterNameActivityMgr.getLogger().error("error :", e);
        }
    }
}
